main(){
  //1. for循环
  for(int i = 0; i < 10; i++){
    print(i);
  }
  //2. while循环
  int i = 0;
  while(i < 10){
    print(i);
    i++;
  }
  //3. do-while循环
  int j = 0;
  do{
    print(j);
    j++;
  }while(j < 10);
  //4. break语句
  for(int i = 0; i < 10; i++){
    if(i == 5){
      break;
    }
    if(i == 3){
      continue;
    }
    print(i);//输出0,1,2,4
  }
  //5. continue语句 
  for(int i = 0; i < 10; i++){
    if(i == 5){
      continue;
    }
    print(i);
  }
}